package com.test.springCloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 服务器端的启动类
 */
@SpringBootApplication
@EnableEurekaServer  //该服务可接受别人的注册
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
